package com.hnust.service.impl;

import com.hnust.dao.StudentDao;
import com.hnust.domain.Examinee;
import com.hnust.service.GetStuListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("GetStuListService")
public class GetStuListServiceImpl implements GetStuListService{

    @Autowired
    public StudentDao studentDao;

    @Override
    public List<Examinee> getStudentList(String testId, String claId) {
        List<Examinee> stuList = studentDao.queryStudentInfo(testId, claId);
        return stuList;
    }
}
